package qianting.news.apis.services.wemedia;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import qianting.news.apis.services.wemedia.fallback.IWemediaClientFallback;
import qianting.news.common.entity.State;

@FeignClient(value="wemedia-service",fallback = IWemediaClientFallback.class)
public interface IWemediaClient {

    @GetMapping("/wemedia/api/channel/list")
    public State getChannels();

}